package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.Size;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-02-24
 */
@ApiModel("客户联系人信息")
@Data
@Valid
public class ContactsRequest {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    @Size(max=15, message = "名字在15字以内.")
    private String name;

    @ApiModelProperty(value = "级别 1-10，数字越大级别越高,默认0")
    private Integer level;

    @ApiModelProperty(value = "电话号")
    private String telephone;

    @ApiModelProperty(value = "备注 限制200字 " +
            "时刻助手客户的标签 asst_1:备用手机号1 asst_2:备用手机号2  asst_3:备用手机号3 asst_4:备用手机号4 asst_5:备用手机号5 编号依次往后推")
    @Size(max=200, message = "备注在200字以内")
    private String remark;

}
